package com.qiall.gateway.data.mapper;

import com.qiall.gateway.data.entity.ApiRoleMap;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 吴金辉
 */
@Mapper
public interface ApiRoleMapMapper {

    void insert(ApiRoleMap roleMap);

    void update(ApiRoleMap roleMap);

    List<ApiRoleMap> selectByApiId(@Param("apiId") Integer apiId);

}
